package com.zxg.zbc.dal.dataobject;

import java.util.Date;

import com.jdbc.annotation.TableID;
import com.jdbc.annotation.TableName;


/**
 * 收费项目
 * @author HangDing   
 * 2014年2月24日
 */
@TableName(name = PayServiceItem.TABLE_NAME)
public class PayServiceItem implements Comparable<PayServiceItem>{
	public static Integer STATUS_NOT_PAY = 0;
	public static Integer STATUS_PAYED = 2;
	public final static String TABLE_NAME = "pay_service_item";
	@TableID
	private Long id;
	
	private String name;
	private String fee;//收到的费用 以分计
	
	private String app;
	private Integer duration ;
	private String durationDisplay ;
	private Integer status;
	private Integer version;
	
	private String alipaySubject;
	private String alipayBody;
	private Date gmtModified;
	private Date gmtCreated;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getFee() {
		return fee;
	}
	public void setFee(String fee) {
		this.fee = fee;
	}
	public String getApp() {
		return app;
	}
	public void setApp(String app) {
		this.app = app;
	}
	public Integer getDuration() {
		return duration;
	}
	public void setDuration(Integer duration) {
		this.duration = duration;
	}
	public String getDurationDisplay() {
		return durationDisplay;
	}
	public void setDurationDisplay(String durationDisplay) {
		this.durationDisplay = durationDisplay;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Integer getVersion() {
		return version;
	}
	public void setVersion(Integer version) {
		this.version = version;
	}
	public Date getGmtModified() {
		return gmtModified;
	}
	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}
	public Date getGmtCreated() {
		return gmtCreated;
	}
	public void setGmtCreated(Date gmtCreated) {
		this.gmtCreated = gmtCreated;
	}
	public String getAlipaySubject() {
		return alipaySubject;
	}
	public void setAlipaySubject(String alipaySubject) {
		this.alipaySubject = alipaySubject;
	}
	public String getAlipayBody() {
		return alipayBody;
	}
	public void setAlipayBody(String alipayBody) {
		this.alipayBody = alipayBody;
	}
	@Override
	public int compareTo(PayServiceItem o) {
		return this.id.compareTo(o.getId());
	}
	
	

	
}
